#!/usr/bin/env python
# -*- coding:utf-8 -*-
'''
@FileName  :testUI.py 
@desc      :
@Author    :Young
@IDE       :PyCharm
@Time      :2022-09-26 18:53
'''

import sys
from PyQt5 import QtWidgets
from WorldCup import Ui_MainWindow

if __name__ == '__main__':
    app = QtWidgets.QApplication(sys.argv)  # 实例化一个应用对象
    MainWindow1 = QtWidgets.QMainWindow()  # MainWindow1随便改
    ui = Ui_MainWindow()  # 随便改
    ui.setupUi(MainWindow1)
    MainWindow1.show()
    sys.exit(app.exec_())  # 程序一直循环运行到主窗口被关闭

